<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
        <head>
          <title>scalation.scala2d</title>
          <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
          
      <link type="text/css" media="screen" rel="stylesheet" href="../../lib/template.css" />
      <script type="text/javascript" src="../../lib/jquery.js"></script>
      <script type="text/javascript" src="../../lib/jquery-ui.js"></script>
      <script type="text/javascript" src="../../lib/template.js"></script>
      <script type="text/javascript" src="../../lib/tools.tooltip.js"></script>
    
        </head>
        <body class="value">
      <div id="definition">
        <img src="../../lib/package_big.png" />
        <p id="owner"><a name="scalation" class="extype" href="../package.html">scalation</a></p>
        <h1>scala2d</h1>
      </div>

      <h4 class="signature" id="signature">
      <span class="kind">package</span>
      <span class="symbol"> 
        <span class="name">scala2d</span>
        
        
      </span>
      </h4>
      
          <div class="fullcommenttop" id="comment"></div>
        

      <div id="template">

        <div id="mbrsel">
          <div id="textfilter"><span class="pre"></span><span class="input"><input accesskey="/" type="text" /></span><span class="post"></span></div>
          
          
          <div id="visbl">
              <span class="filtertype">Visibility</span>
              <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol>
            </div>
        </div>

        

        <div class="types members" id="types">
              <h3>Type Members</h3>
              <ol><li visbl="pub" name="scalation.scala2d.Arc" data-isabs="false">
      <a id="Arc:Arc"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Arc.html"><span class="name">Arc</span></a>
        
        <span class="params">()</span><span class="result"> extends Double with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Convenience case class for Arc2D (a subclass of RectangularShape).</p>
    </li><li visbl="pub" name="scalation.scala2d.Arrow" data-isabs="false">
      <a id="Arrow:Arrow"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Arrow.html"><span class="name">Arrow</span></a>
        
        <span class="params">(<span name="p1">p1: R2</span>, <span name="p2">p2: R2</span>, <span name="len">len: Int</span>)</span><span class="result"> extends Double with CurvilinearShape with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Arrow class uses Java's Path2D class to create a line with an arrowhead
on the far end.</p>
    </li><li visbl="pub" name="scalation.scala2d.CurvilinearShape" data-isabs="true">
      <a id="CurvilinearShape:CurvilinearShape"></a>
      <h4 class="signature">
      <span class="kind">trait</span>
      <span class="symbol"> 
        <a href="CurvilinearShape.html"><span class="name">CurvilinearShape</span></a>
        
        <span class="result"> extends Shape with Error</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The CurvilinearShape trait provides a general type for line and curves.</p>
    </li><li visbl="pub" name="scalation.scala2d.Ellipse" data-isabs="false">
      <a id="Ellipse:Ellipse"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Ellipse.html"><span class="name">Ellipse</span></a>
        
        <span class="params">()</span><span class="result"> extends Double with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Convenience case class for Ellipse2D (a subclass of RectangularShape).</p>
    </li><li visbl="pub" name="scalation.scala2d.Hexagon" data-isabs="false">
      <a id="Hexagon:Hexagon"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Hexagon.html"><span class="name">Hexagon</span></a>
        
        <span class="params">(<span name="vertex">vertex: Array[R2]</span>)</span><span class="result"> extends Double with Error with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Hexagon class enhances the Path2D.</p>
    </li><li visbl="pub" name="scalation.scala2d.Line" data-isabs="false">
      <a id="Line:Line"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Line.html"><span class="name">Line</span></a>
        
        <span class="params">(<span name="p1">p1: R2</span>, <span name="p2">p2: R2</span>)</span><span class="result"> extends Double with CurvilinearShape with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Line class uses Java's Line2D class to create a line.</p>
    </li><li visbl="pub" name="scalation.scala2d.Octogon" data-isabs="false">
      <a id="Octogon:Octogon"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Octogon.html"><span class="name">Octogon</span></a>
        
        <span class="params">(<span name="vertex">vertex: Array[R2]</span>)</span><span class="result"> extends Double with Error with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Octogon class enhances the Path2D.</p>
    </li><li visbl="pub" name="scalation.scala2d.Path" data-isabs="false">
      <a id="Path:Path"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Path.html"><span class="name">Path</span></a>
        
        <span class="params">()</span><span class="result"> extends Double with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Convenience case class for Path2D.</p>
    </li><li visbl="pub" name="scalation.scala2d.Pentagon" data-isabs="false">
      <a id="Pentagon:Pentagon"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Pentagon.html"><span class="name">Pentagon</span></a>
        
        <span class="params">(<span name="vertex">vertex: Array[R2]</span>)</span><span class="result"> extends Double with Error with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Pentagon class enhances the Path2D.</p>
    </li><li visbl="pub" name="scalation.scala2d.Polygon" data-isabs="false">
      <a id="Polygon:Polygon"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Polygon.html"><span class="name">Polygon</span></a>
        
        <span class="params">(<span name="vertex">vertex: Array[R2]</span>)</span><span class="result"> extends Double with Error with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Polygon class enhances the Path2D.</p>
    </li><li visbl="pub" name="scalation.scala2d.QArrow" data-isabs="false">
      <a id="QArrow:QArrow"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="QArrow.html"><span class="name">QArrow</span></a>
        
        <span class="params">(<span name="p1">p1: R2</span>, <span name="pc">pc: R2</span>, <span name="p2">p2: R2</span>, <span name="len">len: Int</span>)</span><span class="result"> extends Double with CurvilinearShape with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The QArrow class uses Java's Path2D class to create a quad curve with an arrowhead
on the far end.</p>
    </li><li visbl="pub" name="scalation.scala2d.QCurve" data-isabs="false">
      <a id="QCurve:QCurve"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="QCurve.html"><span class="name">QCurve</span></a>
        
        <span class="params">(<span name="p1">p1: R2</span>, <span name="pc">pc: R2</span>, <span name="p2">p2: R2</span>, <span name="straight">straight: Boolean</span>)</span><span class="result"> extends Double with CurvilinearShape with Error with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The QCurve class enhances the QuadCurve.</p>
    </li><li visbl="pub" name="scalation.scala2d.Quad" data-isabs="false">
      <a id="Quad:Quad"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Quad.html"><span class="name">Quad</span></a>
        
        <span class="params">(<span name="vertex">vertex: Array[R2]</span>)</span><span class="result"> extends Double with Error with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Quad class enhances the Path2D.</p>
    </li><li visbl="pub" name="scalation.scala2d.R2" data-isabs="false">
      <a id="R2:R2"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="R2.html"><span class="name">R2</span></a>
        
        <span class="params">(<span name="xx">xx: Double</span>, <span name="yy">yy: Double</span>)</span><span class="result"> extends Double with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Convenience case class for Point2D.</p>
    </li><li visbl="pub" name="scalation.scala2d.Rectangle" data-isabs="false">
      <a id="Rectangle:Rectangle"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Rectangle.html"><span class="name">Rectangle</span></a>
        
        <span class="params">()</span><span class="result"> extends Double with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Convenience case class for Rectangle2D (a subclass of RectangularShape).</p>
    </li><li visbl="pub" name="scalation.scala2d.RoundRectangle" data-isabs="false">
      <a id="RoundRectangle:RoundRectangle"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="RoundRectangle.html"><span class="name">RoundRectangle</span></a>
        
        <span class="params">()</span><span class="result"> extends Double with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Convenience case class for RoundRectangle2D (a subclass of RectangularShape).</p>
    </li><li visbl="pub" name="scalation.scala2d.Transform" data-isabs="true">
      <a id="Transform:Transform"></a>
      <h4 class="signature">
      <span class="kind">trait</span>
      <span class="symbol"> 
        <a href="Transform.html"><span class="name">Transform</span></a>
        
        <span class="result"> extends Error</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Transform trait provides a simple technique for transforming
(translation, scaling and rotation) rectangular shapes.</p>
    </li><li visbl="pub" name="scalation.scala2d.Triangle" data-isabs="false">
      <a id="Triangle:Triangle"></a>
      <h4 class="signature">
      <span class="kind">case class</span>
      <span class="symbol"> 
        <a href="Triangle.html"><span class="name">Triangle</span></a>
        
        <span class="params">(<span name="vertex">vertex: Array[R2]</span>)</span><span class="result"> extends Double with Error with Product with Serializable</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Triangle class enhances the Path2D.</p>
    </li></ol>
            </div>
        
        

        <div class="values members" id="values">
              <h3>Value Members</h3>
              <ol><li visbl="pub" name="scalation.scala2d.ArrowTest" data-isabs="false">
      <a id="ArrowTest:ArrowTest"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="ArrowTest$.html"><span class="name">ArrowTest</span></a>
        
        <span class="result"> extends App</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This object is used to test the Arrow class.</p>
    </li><li visbl="pub" name="scalation.scala2d.Colors" data-isabs="false">
      <a id="Colors:Colors"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="Colors$.html"><span class="name">Colors</span></a>
        
        <span class="result"> extends AnyRef</span>
      </span>
      </h4>
      <p class="comment cmt">A convenience object defining numerous common colors.</p>
    </li><li visbl="pub" name="scalation.scala2d.ColorsTest" data-isabs="false">
      <a id="ColorsTest:ColorsTest"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="ColorsTest$.html"><span class="name">ColorsTest</span></a>
        
        <span class="result"> extends App</span>
      </span>
      </h4>
      <p class="comment cmt">This object is used to test the Colors object.</p>
    </li><li visbl="pub" name="scalation.scala2d.Constants" data-isabs="false">
      <a id="Constants:Constants"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="Constants$.html"><span class="name">Constants</span></a>
        
        <span class="result"> extends AnyRef</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Useful constants.</p>
    </li><li visbl="pub" name="scalation.scala2d.LineTest" data-isabs="false">
      <a id="LineTest:LineTest"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="LineTest$.html"><span class="name">LineTest</span></a>
        
        <span class="result"> extends App</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This object is used to test the Line class.</p>
    </li><li visbl="pub" name="scalation.scala2d.PolygonTest" data-isabs="false">
      <a id="PolygonTest:PolygonTest"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="PolygonTest$.html"><span class="name">PolygonTest</span></a>
        
        <span class="result"> extends App</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The PolygonTest object tests the Polygon, Triangle, Quad and Hexagon classes.</p>
    </li><li visbl="pub" name="scalation.scala2d.QArrowTest" data-isabs="false">
      <a id="QArrowTest:QArrowTest"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="QArrowTest$.html"><span class="name">QArrowTest</span></a>
        
        <span class="result"> extends App</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This object is used to test the QArrow class.</p>
    </li><li visbl="pub" name="scalation.scala2d.QCurveCalc" data-isabs="false">
      <a id="QCurveCalc:QCurveCalc"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="QCurveCalc$.html"><span class="name">QCurveCalc</span></a>
        
        <span class="result"> extends AnyRef</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This object provides formulas used by the QCurve class.</p>
    </li><li visbl="pub" name="scalation.scala2d.QCurveTest" data-isabs="false">
      <a id="QCurveTest:QCurveTest"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="QCurveTest$.html"><span class="name">QCurveTest</span></a>
        
        <span class="result"> extends App</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The QCurveTest object tests QCurve's (quad curves).</p>
    </li><li visbl="pub" name="scalation.scala2d.QCurveTest2" data-isabs="false">
      <a id="QCurveTest2:QCurveTest2"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="QCurveTest2$.html"><span class="name">QCurveTest2</span></a>
        
        <span class="result"> extends App</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The QCurveTest2 object tests traversals of QCurve's (quad curves).</p>
    </li><li visbl="pub" name="scalation.scala2d.Shapes" data-isabs="false">
      <a id="Shapes:Shapes"></a>
      <h4 class="signature">
      <span class="kind">object</span>
      <span class="symbol"> 
        <a href="Shapes$.html"><span class="name">Shapes</span></a>
        
        <span class="result"> extends AnyRef</span>
      </span>
      </h4>
      <p class="comment cmt">:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Scala type aliases for basic Java2D types.</p>
    </li></ol>
            </div>

        

      </div>
      
      <div id="tooltip"></div>
      
    </body>
      </html>